<li class=" <?php
  if ( $menu == '' )
  {
      echo 'active' ;
  }
  
  ?>">
  <a href="<?php echo base_url() ?>dashboard">
  <i class="fa fa-dashboard"></i> <span>Dashboard</span>
  </a>
</li>
<li  class="treeview <?php if ( $menu == 'user' ) { echo 'active' ;} ?> ">  <a href="#">  
<i class="fa fa-credit-card"></i> <span>Tagihan</span> <i class="fa fa-angle-left pull-right"></i>  </a>
  <ul class="treeview-menu">
    <!--<li class="<?php if ( $sub_menu == 'tambah_user' ) {  echo 'active' ; } ?>"><a href="<?php echo base_url() ?>tagihan/tambah_tagihan"><i class="fa fa-plus"></i>Tambah Tagihan</a></li>-->
    <li class="<?php if ( $sub_menu == 'daftar_user' ){ echo 'active' ; }  ?>" ><a href="<?php echo base_url()  ?>tagihan/daftar_tagihan"><i class="fa fa-list"></i> Daftar tagihan</a></li>
  </ul>
</li>

<li class="treeview <?php if ( $menu == 'wilayah' )  {  echo 'active' ; } ?> " > <a href="#"> <i class="fa fa-dropbox"></i> 
<span>Pesanan</span> <i class="fa fa-angle-left pull-right"></i> </a>
  <ul class="treeview-menu">
  <li class="<?php if ( $sub_menu == 'tambah_negara' )  {   echo 'active' ;  }  ?> " ><a href="<?php echo base_url() ?>pesanan/tambah_pesanan"><i class="fa fa-plus"></i> Tambah Pesanan</a></li>
  <li class="<?php if ( $sub_menu == 'daftar_negara' )    {     echo 'active' ;   } ?> "><a href="<?php  echo base_url()  ?>pesanan/daftar_pesanan"><i class="fa fa-list"></i> Daftar Pesanan</a></li>
  <li class="<?php if ( $sub_menu == 'daftar_negara' )    {     echo 'active' ;   } ?> "><a href="<?php  echo base_url()  ?>pesanan/tambah_pelanggan"><i class="fa fa-list"></i> Tambah Pelanggan</a></li>
	
 </ul>
     
</li>

<li class="treeview <?php if ( $menu == 'wilayah' )  {  echo 'active' ; } ?> " > <a href="#"> <i class="fa fa-dropbox"></i> 
<span>Pengiriman</span> <i class="fa fa-angle-left pull-right"></i> </a>
  <ul class="treeview-menu">
 
  <li class="<?php if ( $sub_menu == 'daftar_negara' )    {     echo 'active' ;   } ?> "><a href="<?php  echo base_url()  ?>pengiriman"><i class="fa fa-list"></i> Daftar pengiriman</a></li>
	
 </ul>
     
</li>




